<!DOCTYPE html>
<html>
<head>
    <%@ page contentType="text/html;charset=UTF-8" language="java" %>
    <meta charset="utf-8">
    <title> 添加图书 </title>
    <link rel="stylesheet" href="https://cdn.staticfile.org/twitter-bootstrap/3.3.7/css/bootstrap.min.css">
    <script src="https://cdn.staticfile.org/jquery/2.1.1/jquery.min.js"></script>
    <script src="https://cdn.staticfile.org/twitter-bootstrap/3.3.7/js/bootstrap.min.js"></script>
</head>
<body>

<form class="form-horizontal" role="form" action="/Web/addbook" method="post">
    <div class="form-group">
        <label for="bookname" class="col-sm-2 control-label">书的名字</label>
        <div class="col-sm-10">
            <input type="text" class="form-control" id="bookname"
                   placeholder="请输入书的名字" name="name">
        </div>
    </div>
    <div class="form-group">
        <label for="isbn" class="col-sm-2 control-label"> 书的isbn </label>
        <div class="col-sm-10">
            <input type="text" class="form-control" id="isbn" name="isbn"
                   placeholder="请输入isbn">
        </div>
    </div>
    <div class="form-group">
        <label for="price" class="col-sm-2 control-label"> 书的价格 </label>
        <div class="col-sm-10">
            <input type="text" class="form-control" id="price" name="price"
                   placeholder="请输入价格">
        </div>
    </div>
    <div class="form-group">
        <label for="linktoimg" class="col-sm-2 control-label"> 书的图片链接 </label>
        <div class="col-sm-10">
            <input type="text" class="form-control" id="linktoimg" name="linktoimg"
                   placeholder="书的图片链接">
        </div>
    </div>
    <div class="form-group">
        <label for="author" class="col-sm-2 control-label"> 书的作者 </label>
        <div class="col-sm-10">
            <input type="text" class="form-control" id="author" name="author"
                   placeholder="请输入书的作者">
        </div>
    </div>
    <div class="form-group">
        <label for="head_title" class="col-sm-2 control-label"> 书的简介 </label>
        <div class="col-sm-10">
            <input type="text" class="form-control" id="head_title" name="head_title"
                   placeholder="请输入书的简介">
        </div>
    </div>
    <div class="form-group">
        <label for="head_title" class="col-sm-2 control-label"> 书的种类 </label>
        <div class="col-sm-10">
            <input type="text" class="form-control" id="kind" name="kind"
                   placeholder="请输入书的种类">
        </div>
    </div>
    <div class="form-group">
        <label for="num" class="col-sm-2 control-label"> 书的数量 </label>
        <div class="col-sm-10">
            <input type="text" class="form-control" id="num" name="num"
                   placeholder="请输入书的数量">
        </div>
    </div>

    <div class="form-group">
        <div class="col-sm-offset-2 col-sm-10">
            <button type="submit" class="btn btn-default">提交</button>
        </div>
    </div>
</form>

</body>
</html>